package file;

import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 25397
 * Date: 2022-04-10
 * Time: 21:08
 */
public class Demo4 {
    public static void main(String[] args) {
        File f=new File("./test.txt");
        System.out.println(f.exists());
        f.delete();//删除文件
        System.out.println(f.exists());
    }
}
